package com.bestcem.xm.member.grpc.service.param.export;

import com.bestcem.xm.common.core.constant.RegTypes;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @author dc.wang <dc.wang@idiaoyan.com>
 * @version V1.0
 * @description 单个查询导出记录参数
 * @date 2021/7/29
 */
@Getter
@Setter
@ToString
public class GetExportRecordParam {
    // 企业标识
    @NotBlank(message = "企业标识不存在")
    @Pattern(regexp = RegTypes.OBJECT_ID, message = "企业标识格式错误")
    private String orgId;

    // 导出记录标识
    @NotBlank(message = "导出记录标识不存在")
    @Pattern(regexp = RegTypes.OBJECT_ID, message = "导出记录标识格式错误")
    private String id;
}
